﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH178Model
{
    public class User_Info
    {
        public User_Info()
        { }
        #region Model
        private int _id;
        private string _loginname = "";
        private string _password = "";
        private string _ip = "";
        private int _type = 0;
        private string _mail = "";
        /// <summary>
        /// 用户表 （用户编号）
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string LoginName
        {
            set { _loginname = value; }
            get { return _loginname; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// Ip地址
        /// </summary>
        public string Ip
        {
            set { _ip = value; }
            get { return _ip; }
        }
        /// <summary>
        /// 身份类型 ：0普通用户 1 会员 2管理员
        /// </summary>
        public int Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Mail
        {
            set { _mail = value; }
            get { return _mail; }
        }
        #endregion Model
    }
}
